package com.example.himalaya2.interfaces;

import com.ximalaya.ting.android.opensdk.model.album.Album;
import com.ximalaya.ting.android.opensdk.model.word.HotWord;
import com.ximalaya.ting.android.opensdk.model.word.QueryResult;

import java.util.List;

public interface ISearchCallback {
    void onSearchResultLoad(List<Album> albumList);  // 搜索结果的回调
    void onHotWordLoad(List<HotWord> hotWordList);  // 热词的回调
    void onLoadMoreResult(List<Album> albumList,boolean isOkay);   // 加载更多的内容回调
    void onRecommendWordLoaded(List<QueryResult> kewWordList);  // 联想关键字的回调
    void onError(int errorCode,String errorMsg);
}
